diff options
Diffstat (limited to 'app/[lng]/evcp/(evcp)/data-room/[projectId]/layout.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/data-room/[projectId]/layout.tsx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/[lng]/evcp/(evcp)/data-room/[projectId]/layout.tsx b/app/[lng]/evcp/(evcp)/data-room/[projectId]/layout.tsx new file mode 100644 index 00000000..d2e74f8e --- /dev/null +++ b/app/[lng]/evcp/(evcp)/data-room/[projectId]/layout.tsx @@ -0,0 +1,19 @@ +// app/projects/[projectId]/layout.tsx +import { ProjectNav } from '@/components/project/ProjectNav'; + +export default function ProjectLayout({ + children, + params, +}: { + children: React.ReactNode; + params: { projectId: string }; +}) { + return ( + <div className="flex flex-col h-full"> + <ProjectNav projectId={params.projectId} /> + <div className="flex-1 overflow-y-auto"> + {children} + </div> + </div> + ); +} |
